package com.itheima.lw.controller;


import com.itheima.lw.UserFeignApi;
import com.itheima.lw.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("feign")
public class FeignController {

    @GetMapping("{id}")
    public User queryById(@PathVariable("id") String username) {
        return UserFeignApi.
    }
}
